projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9493d
)
a11y: Don't advertise ROLE_MENU in submenuitems
author
Benjamin Otte
<otte@redhat.com>
Mon, 11 Jul 2011 00:24:08 +0000
(
02:24
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 11 Jul 2011 00:51:43 +0000
(
02:51
+0200)
We use submenuitems for all menuitems now. So they shouldn't be all
advertised as menus. For the ones that do have submenus, we still
advertise ROLE_MENU per the last patch.
gtk/a11y/gtksubmenuitemaccessible.c
patch
|
blob
|
history
diff --git
a/gtk/a11y/gtksubmenuitemaccessible.c
b/gtk/a11y/gtksubmenuitemaccessible.c
index 1233183b6f1016bccd94ce4e36309b98cce1b6af..d792957996c5f40bc58068656d93777326c131e6 100644
(file)
--- a/
gtk/a11y/gtksubmenuitemaccessible.c
+++ b/
gtk/a11y/gtksubmenuitemaccessible.c
@@
-46,8
+46,6
@@
gtk_submenu_item_accessible_initialize (AtkObject *obj,
g_signal_connect (submenu, "add", G_CALLBACK (menu_item_add_gtk), NULL);
g_signal_connect (submenu, "remove", G_CALLBACK (menu_item_remove_gtk), NULL);
}
-
- obj->role = ATK_ROLE_MENU;
}
static void